package model

type QuanxiRecordCreateRequest struct {
	Id         int64  `json:"id"`
	UserId     string `json:"user_id"`
	Status     int    `json:"status"`
	AnswerName string `json:"answer_name"`
	AnswerType int    `json:"answer_type"`
	Select     string `json:"select"`
	QuestionId int64  `json:"question_id"`
	CreatedAt  int64  `json:"created_at"`
	UpdatedAt  int64  `json:"updated_at"`
}
type QuanxiRecordUpdateRequest struct {
	Id         int64   `json:"id"`
	UserId     *string `json:"user_id"`
	Status     *int    `json:"status"`
	AnswerName *string `json:"answer_name"`
	AnswerType *int    `json:"answer_type"`
	Select     *string `json:"select"`
	QuestionId *int64  `json:"question_id"`
	CreatedAt  *int64  `json:"created_at"`
	UpdatedAt  *int64  `json:"updated_at"`
}
type QuanxiRecordListRequest struct {
	Id         int64   `json:"id"`
	UserId     *string `json:"user_id"`
	Status     *int    `json:"status"`
	AnswerType *int    `json:"answer_type"`
	AnswerName *string `json:"answer_name"`
	Select     *string `json:"select"`
	QuestionId *int64  `json:"question_id"`
	CreatedAt  *int64  `json:"created_at"`
	UpdatedAt  *int64  `json:"updated_at"`
	Index      int     `json:"index"`
	Size       int     `json:"size"`
}
type QuanxiRecordListResponse struct {
	Total int                 `json:"total"`
	List  []*QuanxiRecordInfo `json:"list"`
}
type QuanxiRecordInfoRequest struct {
	Id     int64 `json:"id"`
	IsRead bool  `json:"is_read"`
}
type QuanxiRecordInfo struct {
	Id         int64  `json:"id"`
	UserId     string `json:"user_id"`
	Status     int    `json:"status"`
	AnswerType int    `json:"answer_type"`
	AnswerName string `json:"answer_name"`
	Select     string `json:"select"`
	QuestionId int64  `json:"question_id"`
	CreatedAt  int64  `json:"created_at"`
	UpdatedAt  int64  `json:"updated_at"`
}
type QuanxiRecordDeleteRequest struct {
	Id int64 `json:"id"`
}
